package com.ny.service;

import com.ny.entity.Order;

import java.sql.SQLException;
import java.util.List;

public interface OrderService {
    int insertOrder(Order order) throws SQLException;

    List<Order> selectAllOrders() throws SQLException;
    int deleteOrder(int orderId) throws SQLException;
}
